package com.example.mybatisplus.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * @Author deyou
 * @Date 2022/1/14 14:42
 * @Version 1.0
 */
public enum StatusEnum {
    WORK(1,"上班"),
    REST(0,"休息");
    @EnumValue
    private int code;
    private String msg;

    StatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
